home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.c
- Subject: Re: localtime
- Date: Thu, 25 Jan 1996 11:56:43 GMT
- Organization: Netcom
- Message-ID: <31076fb0.51958144@nntp.ix.netcom.com>
- References: <61VnNPt6nTB@softsite.co.at>
- NNTP-Posting-Host: ix-dc9-26.ix.netcom.com
- X-NETCOM-Date: Thu Jan 25 3:56:35 AM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- wsog@softsite.co.at (Walter Sommergruber) wrote:
-
- >
- > In ANSI C the function localtime returns a pointer to a struct tm.
- > The documentation of my compiler says
- > "tm.tm_year = Year (current year minus 1900)"
- >
- > Is this defined behaviour ?
- > Can I assume "tm_year+1900 = real year" will work also after the
- > year 2000 ? Or is this compiler dependend ?
-
- This is standard.
-
-
- Michael M Rubenstein
-